<?php
/**
 * Global Configuration Override
 *
 * You can use this file for overriding configuration values from modules, etc.
 * You would place values in here that are agnostic to the environment and not
 * sensitive to security.
 *
 * @NOTE: In practice, this file will typically be INCLUDED in your source
 * control, so do not include passwords or other sensitive information in this
 * file.
 */
include( 'public/globalvalues.php');
include( 'public/PHPMailer_5.2.4/class.phpmailer.php');
//session_start();
//include('public/sessiondbhandler/ExampleSessionHandler.php');
return array(
    'db' => array(
        'driver'         => 'Pdo',
        'driver_options' => array(
            PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\'',
            //'buffer_results' => true
        ),
    ),
	'slave' => array(
        'driver'         => 'Pdo',
        'dsn'            => 'mysql:dbname=iptelservi_ces;host=localhost',
        'driver_options' => array(
            PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
        ),
    ),
	'service_manager' => array(
        'factories' => array(
            'Zend\Db\Adapter\Adapter'
                    => 'Zend\Db\Adapter\AdapterServiceFactory',
			'SlaveAdapter' => 'Album\Factory\Model\SlaveAdapterServiceFactory',
			'SlaveAdapter2' => 'Album\Factory\Model\SlaveAdapter2ServiceFactory',
			'SlaveAdapter3' => 'Album\Factory\Model\SlaveAdapter3ServiceFactory',
        ),
		'abstract_factories' => array(
				'Zend\Cache\Service\StorageCacheAbstractServiceFactory',
		  ),
    ),
);